package gererg;

public class NameClass {
   private static int x;
   public static void main(String[] args){
	    name(x);
	    System.out.println(x);
	   
   }
   public static void name(int y){//静态方法属于类，而费静态方法属于类的实例
	   ++x;
   }
}
